$(function(){
	showCondition(true);
	//参数
	var param = $("#tabContent > .tab-pane.active").data();
	var raiseDesc=param.depGroupName;
	var range_ywcDep="";//查询数据的范围
	if(param.value != "undefined")
	{
		paramTabPage[tabId] = param;
		range_ywcDep="depGroup";
		$('#'+tabId+' #raiseDesc_id').html(raiseDesc);
	}
    else
	{
    	range_ywcDep="Hosp";//查询数据的范围
		$('#'+tabId+' #raiseDesc_id').html("全院");
	}
	
	
	
	getQuotas("ywcDep", loadData);
	
	function loadData(totalQuota){
		//科室组指标
		loadHospQuota(range_ywcDep,totalQuota,"hospQuotasId","ywcDepTotal");
		
		//加载指标的div
		loadDRGsQuota(totalQuota,"科室","quotasId");
		
		//各个科室层次数据的加载
		loadDRGsQuotaData(totalQuota,"dep",false,null,"ywcDepDetail");
	}
});
